package com.itheima.admin.service;

import com.itheima.pojo.dto.PageDto;
import com.itheima.pojo.dto.RoleDto;
import com.itheima.pojo.vo.PageVo;
import com.itheima.pojo.vo.RoleVo;

import java.util.List;
import java.util.Map;

public interface IRoleService {
    PageVo<RoleVo> queryByPage(PageDto pageDto);
    Boolean addRole(RoleDto roleDto);
    Boolean deleteRole(String id);
    List<RoleVo> queryAll();
    Boolean roleAuth(Map map);
}
